package com.sen.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 话题-标签 中间表
 * </p>
 *
 * @author ergou
 * @since 2021-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@Accessors(chain = true)
@TableName("bms_post_tag")
@NoArgsConstructor
@AllArgsConstructor
public class BmsPostTag implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标签ID
     */
    private String tagId;

    /**
     * 话题ID
     */
    private String topicId;


}
